from django.conf.urls import url

from . import views


urlpatterns = [
    url(r'^news_category/$', views.NewsCategoryView.as_view()),
    url(r'^news_list/(?P<category_id>\d+)/$', views.NewsView.as_view()),
    url(r'^news/(?P<news_id>\d+)/$', views.NewsDetailView.as_view()),
]